
package com.cloud.code.sax;

public class Book
{

    String name;
    String author;
    String price;
    int age;
    String title;

    public Book(String name, String author, String price, int age, String title)
    {
        super();
        this.name = name;
        this.author = author;
        this.price = price;
        this.age = age;
        this.title = title;
    }

    public Book()
    {
        super();
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getAuthor()
    {
        return author;
    }

    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getPrice()
    {
        return price;
    }

    public void setPrice(String price)
    {
        this.price = price;
    }

    public int getAge()
    {
        return age;
    }

    public void setAge(int age)
    {
        this.age = age;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    @Override
    public String toString()
    {
        return "Book [name=" + name + ", author=" + author + ", price=" + price
                + ", age=" + age + ", title=" + title + "]";
    }

}
